import { RadarECOption } from '../type'
const options: RadarECOption = {
	legend: {},
	tooltip: {},
	radar: {
		center: ['50%', '50%'],
		radius: '70%',
		splitArea: {
			areaStyle: {
				color: ['#2345fb', '#60a0ff', '#217aff', '#0e39cc', '#002192']
			}
		},
		indicator: [
			{ name: 'a', max: 100 },
			{ name: 'b', max: 100 },
			{ name: 'c', max: 100 },
			{ name: 'd', max: 100 },
			{ name: 'e', max: 100 },
			{ name: 'a', max: 100 }
		],
		splitLine: {
			lineStyle: {
				color: [
					'rgba(238, 197, 102, 0.1)',
					'rgba(238, 197, 102, 0.2)',
					'rgba(238, 197, 102, 0.4)',
					'rgba(238, 197, 102, 0.6)',
					'rgba(238, 197, 102, 0.8)',
					'rgba(238, 197, 102, 1)'
				]
			}
		}
	},
	grid: {
		left: 60,
		bottom: '8%',
		top: '20%'
	},
	series: [
		{
			name: '报警类型分析',
			type: 'radar',
			symbol: 'angle',
			data: [
				{
					symbol: 'circle',
					symbolSize: 5,
					value: [70, 42, 63, 84, 75, 34],
					areaStyle: { color: 'rgba(64, 205, 241, 0.2)' }
					// lineStyle: {
					//   color: "rgba(146, 225, 255, 1)",
					//   width: 1
					// }
				}
			]
		}
	]
}
export default options
